package cn.codewen.shop.pojo;

public class Admin {
    //1. 声明属性和表字段对应
    private String username;
    private String password;

    //2. 构造方法
    public Admin() {
    }
    //3. GETTER和SETTER

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    //4. toString
    @Override
    public String toString() {
        return "Admin{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
